const { exchange } = require('./index')

const log = console.log
// log(exchange)
exchange.publicGetTickerPrice({
    symbol: 'BTCUSDT'
}).then(item => {
    console.log(item.price)
})
//     .then(orderList => {
//         const filteredOrderList = orderList.filter(item => item.status === 'FILLED')
//         // const filteredOrderList = orderList
//         log(filteredOrderList[filteredOrderList.length - 1])
//     })